Skip to content

Bump @hyperjump/json-pointer from 1.1.4 to 2.0.1 - #308

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hyperjump/json-pointer-2.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hyperjump/json-pointer-2.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @hyperjump/json-pointer from 1.1.4 to 2.0.1.

Release notes

Sourced from @​hyperjump/json-pointer's releases.

v2.0.1

No code changes.

Full changelog: hyperjump-io/json-pointer@v2.0.0...v2.0.1

v2.0.0

v2 has the same functions as v1, and they do the same things, but each one has a new name. The documentation is now at https://hyperjump.io/json-pointer/.

What's new

  • Segments. Every function accepts segments in place of a pointer, and pointerStringify turns segments back into a pointer. See Pointers.
  • Error classes. InvalidPointerError, NotAContainerError, and InvalidIndexError, so you can tell errors apart with instanceof.
  • Better types. pointerSet and pointerUnset return a value with the subject's type instead of Json. pointerGet, pointerSet, and pointerUnset accept readonly values. Pointer, PointerSegments, ReadonlyJson, and ReadonlyJsonObject are new.

Breaking changes

  • Each function's name starts with pointer: get is pointerGet, set is pointerSet, assign is pointerAssign, unset is pointerUnset, remove is pointerRemove, and append is pointerAppend. Import them by name instead of as a namespace.
  • pointerParse replaces pointerSegments. It returns an array instead of a generator, and throws for an invalid pointer when you call it.
  • nil is removed. Use "".
  • The message of an invalid pointer error includes the pointer.
  • A segment that steps into an array has to be an index or -. Any other segment throws an InvalidIndexError.
  • pointerSet, pointerAssign, pointerUnset, and pointerRemove parse the pointer right away when you give them only a pointer.
  • How many arguments you give a function decides whether it returns a function, so pointerGet(pointer, undefined) throws a NotAContainerError instead of returning a function.
  • pointerUnset returns the subject itself when the value isn't there, instead of a copy.
  • The types for the curried functions are now PointerGetter, PointerSetter, PointerAssigner, PointerUnsetter, and PointerRemover.

See Migrate from v1 for each change and what to do about it.

Commits
  • 4251e7b 2.0.1
  • bc89728 Point the README at the v2 release and the website
  • cc35703 Update the LICENSE for v2
  • 52b0203 Shorten the pointerUnset heading in Migrate from v1
  • 6a0c1e1 Write null as plain text in the Json type's description
  • 817d386 Give the overview's first sentence a subject
  • 9a5fab0 Drop ai-tells from the Vale config
  • 34daf9d Check the docs with Harper, A11y, and ai-tells
  • 90f4cb3 Give every function a name that makes sense on its own
  • 42b513c List only deliberate breaking changes in Migrate from v1
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
Bumps [@hyperjump/json-pointer](https://github.com/hyperjump-io/json-pointer) from 1.1.4 to 2.0.1.
- [Release notes](https://github.com/hyperjump-io/json-pointer/releases)
- [Commits](hyperjump-io/json-pointer@v1.1.4...v2.0.1)

---
updated-dependencies:
- dependency-name: "@hyperjump/json-pointer"
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hyperjump/json-pointer-2.0.1 branch from 30c3464 to 60eb5d4 Compare November 23, 2026 00:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants